﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Presentation.Events;
using AMail.Common.Interfaces.Data;

namespace AMail.Common.Events
{
  public sealed class ActiveArchiveChangedEvent : CompositePresentationEvent<ActiveArchiveChangedEventArgs>
  {
  }

  public class ActiveArchiveChangedEventArgs : EventArgs
  {
    public IMailArchive OldArchive { get; private set; }
    public IMailArchive NewArchive { get; private set; }

    public ActiveArchiveChangedEventArgs(IMailArchive oldArchive, IMailArchive newArchive)
    {
      this.OldArchive = oldArchive;
      this.NewArchive = newArchive;
    }
  }
}
